// pages/information_Collection/information_Collection.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    list:[
  //     {
  //   u_infold :'',
  //   u_name :'',
  //   ID_card:'',
  //   sex:'',
  //   sub_branch:'',
  //   status:'',
  //   line_of_credit:''
  // }
]
  },
 
 onLoad:function(e){
   var _this = this
    wx.request({
      url: 'http://192.168.0.106:8888/findCustomer',
      data:  {
        
      } ,
     method:'GET',
     header:{
       'content-type':
       'application/json;charset=utf-8'
     },
     success: function(res) {
     
      console.log(res.data.data);
      _this.setData({
        list: res.data.data
      })
    
    }

     
    })
  }
})